package com.wpf.system.service;

import com.wpf.system.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wpf.system.entity.vo.NoticeVO;

import java.util.List;

/**
* @author ferna
* @description 针对表【notice(公告表)】的数据库操作Service
* @createDate 2023-03-05 13:10:28
*/
public interface NoticeService extends IService<Notice> {
    //查询公告列表
    List<NoticeVO> getNoticeList(
            Long uid, String nid, String username,
            String title,String type, String status,
            Integer orderField,String startTime, String endTime,
            Integer page,  Integer pageSize
    );

    //删除消息且关联数据
    Boolean deleteNotice(Long id);
}
